package core;

public class USquadTroop
{
	private static final long serialVersionUID = 2941165089727114889L;

	/**
	 * Weapon skill level of the unit.
	 */
	private int ws;

	/**
	 * Strength level of the unit.
	 */
	private int s;

	/**
	 * Toughness level of the unit.
	 */
	private int t;

	/**
	 * Number of wounds the unit has.
	 */
	private int w;

	/**
	 * Initiative level of the unit.
	 */
	private int i;

	/**
	 * Base number of attacks the unit can make.
	 */
	private int a;

	/**
	 * Leadership level of the unit.
	 */
	private int ld;

	/**
	 * Armor save of the unit. This rolls >= this save.
	 */
	private int sv;

	private String name;

	private int bs;

	private int pieces;

	/**
	 * Constructor for the UTroop class.
	 * 
	 * @param name
	 * @param ws
	 * @param bs
	 * @param s
	 * @param t
	 * @param w
	 * @param i
	 * @param a
	 * @param ld
	 * @param sv
	 */
	public USquadTroop(String name, int ws, int bs, int s, int t, int w, int i,
			int a, int ld, int sv, int pieces)
	{
		this.name = name;
		this.ws = ws;
		this.bs = bs;
		this.s = s;
		this.t = t;
		this.w = w;
		this.i = i;
		this.a = a;
		this.ld = ld;
		this.sv = sv;
		this.pieces = pieces;
	}

	public int getWs()
	{
		return ws;
	}

	public int getS()
	{
		return s;
	}

	public int getT()
	{
		return t;
	}

	public int getW()
	{
		return w;
	}

	public int getI()
	{
		return i;
	}

	public int getA()
	{
		return a;
	}

	public int getLd()
	{
		return ld;
	}

	public int getSv()
	{
		return sv;
	}

	public String getName()
	{
		return name;
	}

	public int getBs()
	{
		return bs;
	}

	public int getPieces()
	{
		return pieces;
	}

}
